#!/bin/sh

# 阿里原
#sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
cat > /etc/profile.d/sdk.sh << EOF
#!/bin/bash
# java 环境变量
export JAVA_HOME=/mnt/nas/db/docker/tv/jdk-21.0.4
# 执行文件路径
export PATH=\$JAVA_HOME/bin:\$PATH

EOF

source /etc/profile






